package Thread;

public class ThreadDemo1 {

    public static void main(String[] args) throws InterruptedException {
        Thread t = new t1();
        t.start();
        Thread tt = new t2();
        tt.start();
    }
}
class t1 extends Thread{
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println("哥们谁");
        }
    }
}

class t2 extends Thread{
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println("nishei ");
        }
    }
}
